﻿<div id="header">
              <div class="top">
            <div class="wrap clearfix">
                <div class="web-intro fleft">
                    <h1>${page.Title}</h1></div>
                <div class="login-box fright">
                            <a class="index" href="javascript:void(0);" target="_self" onclick="SetHome(this,window.location);">设为首页</a>
                             <a href="${site.Url}" class="keep" onclick="AddFavorite(this.href,this.title);return false;" title='${site.Name}' rel="sidebar">加入收藏</a>
                                <a class="keep" href="${site.Url}/sitemap"  target="_blank">网站地图</a>
                </div>
            </div>
        </div>
        <!--end top-->
        
        <div class="wrap" >
            <div class="menu-bar clearfix">
                <div class="cl fleft">
                </div>
                <div class="logo fleft">
                       <a rel="nofollow" href="${site.Url}"><img src="/templates/default/css/images/logo.png"  alt="${site.Name}" /></a></div>
                        
                        
 
                <div class="menu fleft" >
                    $cmn.Advertise("Top_1").Advertise
                </div>
                <div class="cr fright">
              
                </div>
            </div>
            
                <div class="module blue  wrapper w980">
      	<div class="nav">
    	<div class="t_l"></div>
    	<div class="t_r"></div>
    <div id="navMenu">
    	<ul>
      	<li><a href="${site.Url}" >主　页</a></li>
      	#foreach($ChannelEntity in $cmn.ChannelList(${page.ParentChannel.Id}))
#if($ChannelEntity.IsNav=="True")
#if($ChannelEntity.IsOut=="True")<li><a href="${ChannelEntity.OutUrl}"  >${ChannelEntity.Title}</a></li>
#else<li><a href="${site.Url}${ChannelEntity.Url}"   >${ChannelEntity.Title}</a></li>
#end
#end
#end
      	
    	</ul>
 
    </div>	
		</div>
		</div>
            <div class="clear"></div>
          <!--end menu-->
            <div class="search-bar clearfix">
                <div class="cl fleft">
                </div>
                <div class="hot-col fleft">
                    <ul class="clearfix">
                        <li class="other">热门推荐：</li>
    #foreach($ListInfo in $cmn.ZTList("","id desc ",18,8200)) 
      <li><a href="/zt/${ListInfo.Dir}" >${ListInfo.Title}</a></li>
      #end
                                </ul>  
                    </ul>
                </div>
                <div class="search fleft">
                    <form  target="_blank"  onsubmit="SiteSearch();return false;" >                    
                    <input name="keyword" id="keyword" value="只输入关键词，全文自动搜索" onfocus="this.value=''" onblur="if(this.value=='')
{this.value='只输入关键词，全文自动搜索';}" type="text">
                    <button type="submit" id="searchBut" onclick="SiteSearch()">
                        搜 索</button>
                    </form>
                </div>
                <div class="cr fleft">
                </div>
            </div>
            <!--end search-bar-->
        </div>
    </div>
    <div class="wrap">
    ${cmn.Advertise("Top_2").Advertise}
    </div>
    <!--end header-->
            